<? require_once("sitemap.php"); ?>
<html>
	<title><? echo ($Botname); ?>'s EL-BOT action Log</title>
<body>
	<h1><? echo ($Botname); ?>'s EL-BOT action Log</h1>

<?
	$sql="SELECT id, username, date, webaddress, action FROM log WHERE botid='$botid' ORDER BY id DESC LIMIT 500";
	$result = mysql_query($sql,$db);

	echo "Last " . mysql_num_rows($result) . " trade actions:<p>\n";

	while ($myrow = mysql_fetch_row($result))
	{
		echo "<table>\n<tr>\n<td>name</td><td>$myrow[1]</td>\n</tr>\n";
		echo "<tr>\n<td>date</td><td>$myrow[2]</td>\n</tr>\n";
		echo "<tr>\n<td>Address</td><td><a href = 'HTTP://$myrow[3]'>HTTP://$myrow[3]</a></td>\n</tr>\n";
		echo "</table>\n$myrow[4]";		
	}

?>